//
//  BSFolder.m
//  Spriter_forCocs2d
//
//  Created by Yang Bean on 13/4/19.
//
//

#import "BSFolder.h"

@implementation BSFolder
@synthesize files = m_files;
- (id)initWithFolderId:(int)fID name:(NSString*)name
{
    self = [super init];
    if (self)
    {
        m_folderId = fID;
        m_name = [name retain];
    }
    return self;
}
- (NSString*)folderName{ return m_name; }
- (int)folderId{ return m_folderId; }
- (NSString *)description
{
    return [NSString stringWithFormat:@"id = %d,name = %@, files = %@", m_folderId, m_name, m_files];
}
- (void)dealloc
{
    [m_name release];
    NSLog(@"dealloc   BSFolder");
    [super dealloc];
}
@end